<!doctype html>
<html><!-- InstanceBegin template="/Templates/cloud.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=640, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5">
<!-- InstanceBeginEditable name="doctitle" -->
<title>智能云管家-好友分享</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="EditRegion-jscode" -->
<script type="text/javascript" src="resources/appMobi-jQ.Mobi-3d025ab/jq.mobi.min.js"></script>
<script type="text/javascript" src="resources/js/common.js"></script>
<script type="text/javascript">
var localStr=window.location.href;
$(function(){
    addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
	addEventListener("orientationchange", function() { setTimeout(hideURLbar, 0); }, false); 
	addEventListener("load",function(){$("#loading").hide();
	$(".floatBoxBg").hide();});
      function hideURLbar(){ 
               window.scrollTo(0,1); 
      }
      if(navigator.userAgent.toLowerCase().indexOf("android", 0)<0){
         $("#footer").css({"center;z-index":"999","position":"fixed","bottom":"0"});
         window.scrollTo(0,1); 
        }else{
        $("#footer").css({"position":"fixed","bottom":"0"});
    var top = $("#footer").offset().top;
    if(localStr.indexOf("file:///",0)<0)
	{
	    $(window).scroll(function(){
	    $("#footer").offset({top:$(document).scrollTop()+top});
	    });
	}
       }

       }); 

$(document).ready(function() {
	logincheck();
	if(localStr.indexOf("file:///",0)<0&&detectDeviceType()=="Android"){
		$("#client").hide();
		$("#dlclient").show();
	}else{
		$("#client").show();
		$("#dlclient").hide();
	}
	if(localStorage.getItem("width")==null){
		localStorage.setItem("width",window.screen.width);
		localStorage.setItem("height",window.screen.height);
	}
	if(localStorage.getItem("width")>700) {
		$("meta").attr("content","width=device-width, initial-scale=0.7, minimum-scale=0.7, maximum-scale=0.7");
	}
	if(window.screen.height>window.screen.width){
		Vertical();
	}
	$( window ).bind( "orientationchange", function() {
		changeScreen();
		});
});
function changeScreen(){
	if(window.screen.height>window.screen.width){
		Vertical();
		} 
	else {
		$("#content").removeAttr("style");
		$("#mainconfig").removeAttr("style");
	}
	}
function Vertical(){
	var screenheigh = localStorage.getItem("height");
	if(screenheigh<=500){
		$("#mainconfig").get(0).style.height="630px";
	}
	else if(screenheigh>1100){
		$("#mainconfig").get(0).style.height=0.56*screenheigh+"px";
	}
	else{
		$("#mainconfig").get(0).style.height=0.82*screenheigh+"px";
	}
	}
function sendMsg() {
	$("#phonetip").remove();
	$("#sendtip").remove();
	if($("#toNum").val()==null||$("#toNum").val()==""){
		$("#msgshare").append('<div id="phonetip" style="text-align:center; color:red">请输入电话号码</div>');
		return false;
	}
		var url=jsonserver+"share/phone/"+localStorage.getItem("curphone")+"/friendlist/"+$("#toNum").val()+"/content/"+$("#sendContent").text();
		$(".floatBoxBg").show();
		$("#loading").show();
		$.getJSON(url+".jsonp?callback=?",{},function(data){
			//if(data.sb.status=="00000"){
				$("#msgshare").append('<div id="sentip" style="text-align:center; color:red">'+data.sb.msg+'</div>');
			//}
		});
		$("#loading").hide();
		$(".floatBoxBg").hide();
	}
</script>
<style type="text/css">
.mainConfig{
	width:100%; height:80%;
	border-bottom-left-radius:10px; 
	border-bottom-right-radius:10px; 
	border-top-left-radius:10px; 
	border-top-right-radius:10px; 
	border:1px solid #dfdfdf; 
	background-color:#ffffff
}

</style>
<link href="resources/css/load.css" rel="stylesheet" type="text/css">
<!-- InstanceEndEditable -->
<style type="text/css">
*{
	font-family:Heiti SC;
}
</style>
	<script type="text/javascript">
//var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
//document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F2284c04845acdcd94dd640a8555927dc' type='text/javascript'%3E%3C/script%3E"));
</script>
</head>

<body style="margin:0;">

	<div id="header">
	<!-- InstanceBeginEditable name="EditRegion-header" -->
    <div style="width:100%; background-image:url(resources/css/images/top_bg.jpg); height:88px"><table width="100%" height="88px" border="0">
  <tr>
    <td style="width:18%; max-width:110px; padding-left:5px"><img src="resources/css/images/warning/images/fanhui.png" width="90%" style="max-width:99px" onClick="javascript:window.location.href='index.html'"/></td>
    <td style="text-align: center; font-size: 40px;">好友分享</td>
    <td width="18%" style="max-width:max-width:110px; padding-right:5px">&nbsp;</td>
  </tr>
</table>

    </div>
	<!-- InstanceEndEditable -->
    </div>
    <div id="content">
    <div id="loading" class="loading"><img src="resources/css/images/loading.gif"/>载入中...</div>
    <div class="floatBoxBg"></div>
	<!-- InstanceBeginEditable name="EditRegion-content" -->
    <div style="margin-left: 10px; margin-right: 10px">
    <div style="font-size:9px">&nbsp;</div>
    <div id="mainconfig" class="mainConfig">
    <div style="margin-top: 40px; margin-left: 30px; font-size: 36px;">短信分享</div>
    <div style="width:100%; margin-top:10px"><img src="resources/css/images/system/images/line.png" width="100%"/></div>
    <div id="sendContent" align="left" style="margin-top:30px; margin-bottom:5px; margin-left:10px; margin-right:10px; font-size: 24px;">嗨~我正在使用首推的3G个性门户-智能云管家。超多个性应用、套餐推荐、专项服务...快来试试！sc.911860.com</div>
    <div id="msgshare" align="center" style="margin-top: 20px; margin-bottom: 20px; font-size: 24px; color: #999;"><table width="100%" border="0">
  <tr>
    <td width="25%" height="40" style="text-align:right; font-size:28px">发送给</td>
    <td width="50%"><input id="toNum" type="tel" style="height:30px; width:98%; font-size:24px"/></td>
    <td>&nbsp;<img src="resources/css/images/share/images/btn_send.png" width="70%" style="max-width:101px" onClick="sendMsg()"/></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>多个号码用“,”隔开</td>
    <td>&nbsp;</td>
  </tr>
</table>
</div>
    <div style="margin-top: 40px; margin-left: 30px; margin-bottom: 5px; font-size: 36px; color: #000">网络分享</div>
    <div style="width:100%; margin-top:10px"><img src="resources/css/images/system/images/line.png" width="100%"/></div>
    <div style="width:100%; text-align:center; margin-top:20px; margin-bottom:10px"><table width="100%" style="text-align:center" border="0">
  <tr>
    <td width="25%"><img src="resources/css/images/share/images/1.png" onClick='javascript:window.open("http://v.t.sina.com.cn/share/share.php?appkey=2788964267&amp;title=%E0%CB~%CE%D2%D5%FD%D4%DA%CA%B9%D3%C3%CA%D7%CD%C6%B5%C43G%B8%F6%D0%D4%C3%C5%BB%A7-%D6%C7%C4%DC%D4%C6%B9%DC%BC%D2%A1%A3%B3%AC%B6%E0%B8%F6%D0%D4%D3%A6%D3%C3%A1%A2%CC%D7%B2%CD%CD%C6%BC%F6%A1%A2%D7%A8%CF%EE%B7%FE%CE%F1...%BF%EC%C0%B4%CA%D4%CA%D4%A3%A1&amp;source=bshare&amp;retcode=0&amp;ralateUid=")'/></td>
    <td width="25%"><img src="resources/css/images/share/images/2.png" onClick='javascript:window.open("http://share.v.t.qq.com/index.php?c=share&amp;a=index&amp;title=嗨~我正在使用首推的3G个性门户-智能云管家。超多个性应用、套餐推荐、专项服务...快来试试！")'/></td>
    <td width="25%"><img src="resources/css/images/share/images/3.png" onClick='javascript:window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=http://186cloud.com&title=%E6%99%BA%E8%83%BD%E4%BA%91%E7%AE%A1%E5%AE%B6&pics=&summary=嗨~我正在使用首推的3G个性门户-智能云管家。超多个性应用、套餐推荐、专项服务...快来试试！")'/></td>
    <td><img src="resources/css/images/share/images/4.png" onClick='javascript:window.open("http://widget.renren.com/dialog/forward?api_key=113371&url=http://186cloud.com&title=%E6%99%BA%E8%83%BD%E4%BA%91%E7%AE%A1%E5%AE%B6-%E5%A5%BD%E5%8F%8B%E5%88%86%E4%BA%AB&images=&content=嗨~我正在使用首推的3G个性门户-智能云管家。超多个性应用、套餐推荐、专项服务...快来试试！")' style="max-width:106px"/></td>
  </tr>
</table>
</div>
    </div>
    </div>
    <br/>
    <div id="foot" style="font-size: 24px; max-height:80px; padding:10px; text-align:center; background-image:url(resources/css/images/bottom_share_bg.png)"><div id="foot" style="margin-left: 10px; font-size: 24px; width:100%"><table width="100%" border="0">
  <tr height="80">
    <td width="15%"></td>
    <td ><div id="dlclient" onClick="download()">下载云管家客户端，更多给力功能</div><div id="client" >COOL！流量变化随时掌握</div></td>
  </tr>
</table>
</div>
   </div>

	<!-- InstanceEndEditable -->
    </div>
    <!-- InstanceBeginEditable name="EditRegion-footer" -->
	<!-- InstanceEndEditable -->
    <div id="footer">
    </div>
    
</body>
<!-- InstanceEnd --></html>
